#!/usr/bin/env python# -*- coding: utf-8 -*-# @Time    : 2023/4/6 9:41# @Author  : zhaowp1109# @File    : server.py# @Description :import uvicorn# from src.src import srcimport sysif __name__ == "__main__":    if sys.platform=='win32':        try:            port = int(sys.argv[1])        except:            port = 8011    else:        try:            port = int(sys.argv[1])        except:            port = 8011    uvicorn.run("app.main:app", host="0.0.0.0",port=port,log_level="info")